﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Protocol
{
    public class ControlRequest : Command
    {
        public enum OperationType
        {
            Left,
            Right
        };

        public string Operation
        {
            get;
            set;
        }

        public OperationType GetOperationType()
        {
            return (OperationType)Enum.Parse(typeof(OperationType), Operation);
        }
    }
}
